package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.News;
import cn.wolfcode.trip.base.domain.NewsContent;
import cn.wolfcode.trip.base.query.NewsQueryObject;
import com.github.pagehelper.PageInfo;

public interface INewsService {


    PageInfo<News> query(NewsQueryObject qo);

    News getNews(Long newsId);

    PageInfo<News> getReferenceNews(NewsQueryObject qo);

    void updateState(News news);

    NewsContent getNewsContentById(Long id);

    void saveOrUpdate(News news);
}
